package com.kgc.cgapi.service;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface GYBJServiceApi {

    @RequestMapping("getGYBJPage")
    public ResponseMsg getGYBJPage(@RequestBody Map<String,Object> map);

    @RequestMapping("addGYBJ")
    public ResponseMsg addGYBJ(@RequestBody Map<String,Object> map);

    @RequestMapping("getGYBJ")
    public ResponseMsg getGYBJ(@RequestParam(name = "code") String code);

    @RequestMapping("modiGYBJ")
    ResponseMsg modiGYBJ(@RequestBody Map<String,Object> map);

    @RequestMapping("getGYBJByCGXJ")
    public ResponseMsg getGYBJByCGXJ(@RequestParam(name = "xj_code") String xj_code);
}
